package com.baiduspring.vo;

import lombok.Data;


@Data
public class ValidateVO<T> {
    private boolean valid;
    private T message;

    public ValidateVO() {
    }

    public ValidateVO(boolean valid) {
        this.valid = valid;
    }

    public ValidateVO(boolean valid, T message) {
        this.valid = valid;
        this.message = message;
    }
}
